package com.libraryManage.commons.config;


/**
 * 常量类
 * @author shou
 *
 */
public class Const {

    //返回状态码
    //成功
    public static final int STAT_SUCC = 0;
    //未登录
    public static final int STAT_NOTLOGIN = 999;
    //没有权限
    public static final int STAT_NO_AUTHORITY = 998;
    //系统异常
    public static final int STAT_SYSERR = 500;
    //数据有效性检查不通过
    public static final int STAT_DATAVALIDNOPASS = 1000;
    //业务规则检查不通过
    public static final int STAT_ROLEVALIDNOPASS = 1001;

    //返回消息
    //成功
    public static final String MSG_SUCC = "成功";
    //未登录
    public static final String MSG_NOTLOGIN = "未登录";
    //系统异常
    public static final String MSG_SYSERR = "系统异常";
    //查询字典的种类 0-》图书类别字典 1-》暂无
    public static final int[] dictionarySort = {0,1};

}
